﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Rockfan.Framework;
using Rockfan.Framework.Audio.Midi;

namespace Rockfan.Framework.Audio
{
    public sealed class TempoTrackEvent : TrackEvent
    {
        #region Properties

        /// <summary>
        /// Gets a value indicating the Beats per Minute
        /// </summary>
        public float Tempo { get; private set; }

        #endregion

        #region Constructor

        /// <summary>
        /// Constructs a new instance of this object
        /// </summary>
        /// <param name="start">a float value indicating the amount of time in seconds since the start of the track</param>
        /// <param name="tempo">a value indicating the Beats Per Minute</param>
        public TempoTrackEvent(float start, float tempo)
            : base(start)
        {
            this.Tempo = tempo;
        }

        #endregion
    }
}
